import request from '@/utils/request'

// 查询泪目key列表
export function listCollectProductCategoryKey(query) {
  return request({
    url: '/gather/gather/collectProductCategoryKey/list',
    method: 'get',
    params: query
  })
}

// 查询泪目key详细
export function getCollectProductCategoryKey(id) {
  return request({
    url: '/gather/gather/collectProductCategoryKey/' + id,
    method: 'get'
  })
}

// 新增泪目key
export function addCollectProductCategoryKey(data) {
  return request({
    url: '/gather/gather/collectProductCategoryKey',
    method: 'post',
    data: data
  })
}

// 修改泪目key
export function updateCollectProductCategoryKey(data) {
  return request({
    url: '/gather/gather/collectProductCategoryKey',
    method: 'put',
    data: data
  })
}

// 删除泪目key
export function delCollectProductCategoryKey(id) {
  return request({
    url: '/gather/gather/collectProductCategoryKey/' + id,
    method: 'delete'
  })
}
